package thread.knn.distanceAlgorithm;

import thread.knn.bean.Sample;

/*
   距离计算接口
 */
public interface DistanceCalculator {
    /**
     * 计算两个样本之间的距离
     * @param s1
     * @param s2
     * @return
     */
    public double calculate(Sample s1, Sample s2);
}
